<form id="add-form" class="form-horizontal  nice-validator n-default n-bootstrap"  data-toggle="validator" method="POST" action="{:url('member/add')}">
    <div class="form-group">
        <label for="mobile" class="control-label col-xs-12 col-sm-2">电话:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="moblie" id="moblie" class="form-control">
        </div>
    </div>
    <div class="form-group">
        <label for="name" class="control-label col-xs-12 col-sm-2">姓名:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="name" id="name" class="form-control">
        </div>
    </div>
    <div class="form-group">
        <label for="sex" class="control-label col-xs-12 col-sm-2">性别:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="radio" name="sex" class="sex" value="1" checked >男
            <input type="radio" name="sex" class="sex" value="2">女
        </div>
    </div>
    <div class="form-group">
        <label for="password" class="control-label col-xs-12 col-sm-2">密码:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="password" name="password" id="password" class="form-control">
        </div>
    </div>
    <div class="form-group">
        <label for="store_id" class="control-label col-xs-12 col-sm-2">选择店铺:</label>
        <div class="col-xs-12 col-sm-8">
            <select name="store_id" >
                <option value="0">请选择</option>
                {foreach name='$store' item='vo'}
                <option value="{$vo.id}">{$vo.store_name}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="type" class="control-label col-xs-12 col-sm-2">会员级别:</label>
        <div class="col-xs-12 col-sm-8">
            <select name="level" >
                <option value="0">请选择</option>
                {foreach name='$level' item='vo'}
                <option value="{$vo.id}">{$vo.name}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group layer-footer">
        <div class="col-xs-2"></div>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">提交</button>
        </div>
    </div>
</form>
<!-- 配置文件 -->
<script type="text/javascript" src="/assets/ueditor/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="/assets/ueditor/ueditor.all.js"></script>
<!-- 实例化编辑器 -->
<script type="text/javascript">
    var editor = UE.getEditor('container');
</script>
